package com.surveypark.service;


import com.surveypark.domain.User;


public interface UserService extends BaseService<User> {

	public boolean isRegister(String email);
	
	public User validateLogin(String email, String password);

	public User getUserWithRole(Integer userId);

	public void updateAuthorize(Integer userId, Integer[] ownRoleIds);

	public void clearAuthorize(Integer userId);
}
